package com.liu.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("续费")
public class XuFei {

    @ApiModelProperty(value = "企业id",required = true)
    @NotNull(message = "企业d不能为空！")
    @Min(value = 1,message = "请输入正确的数字类型")
    int eid;

    @ApiModelProperty(value = "续费时间单位是月",required = true)
    int month;

    @ApiModelProperty(value = "续费金额",required = true)
    @Min(value = 1,message = "续费金额最小一元")
    double money;



}
